package com.itheima.day04.myinnerclass.test1;

public class Test {
    public static void main(String[] args) {
        Outer.Inner oi = new Outer().new Inner();
        oi.show();
        Outer o = new Outer();
        o.method();
    }
}

class Outer {
    private int out = 10;

    class Inner {
        int out = 20;
        public void show(){
            System.out.println(out);
        }
    }

    public void method(){
        Inner i = new Inner();
        i.show();
    }

}
